package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TemplateFile;
import com.ruoyi.business.domain.bo.TemplateFileBo;
import com.ruoyi.business.domain.vo.TemplateFileVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author 最爱喝兽奶
 * @create 2022/9/7
 **/
public interface TemplateFileMapper extends BaseMapper<TemplateFile> {

    /**
     * 分页查询模板列表
     * @param page
     * @param bo
     * @return
     */
    Page<TemplateFileVo> queryListByPage(@Param("page") Page<TemplateFileBo> page,
                                         @Param("bo") TemplateFileBo bo);
}
